/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.thailong.esil.analysejournaux.restfulapi.database;
/**
 *
 * @author Thais
 */
public class Word {
    public String libelle;
    public int count;

    public Word(String libelle) {
        this.libelle = libelle;
        this.count = 1;
    }

    public Word(String libelle, int count) {
        this.libelle = libelle;
        this.count = count;
    }

    public Word() {
        this.libelle = "";
        this.count = 0;
    }
    
    
    @Override
    public String toString(){
        return libelle + ": " + String.valueOf(count);
    }
}
